package com.employeemanage.service;

import com.employeemanage.domain.bean.TblEmployeeSchedule;
import com.employeemanage.domain.resp.PageResult;
import com.employeemanage.domain.vo.BatchScheduleResponseVo;
import com.employeemanage.domain.vo.BatchScheduleVo;
import com.employeemanage.domain.vo.EmployeeScheduleListVo;
import com.employeemanage.domain.vo.EmployeeScheduleResponseVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 郭可欣
* @description 针对表【tbl_employee_schedule(员工排班表)】的数据库操作Service
* @createDate 2025-07-05 14:17:39
*/
public interface TblEmployeeScheduleService extends IService<TblEmployeeSchedule> {

    /**
     * 获取员工排班列表
     * @param vo 查询条件
     * @return 分页结果
     */
    PageResult<EmployeeScheduleResponseVo> getEmployeeScheduleList(EmployeeScheduleListVo vo);

    /**
     * 批量排班
     * @param vo 批量排班请求
     * @return 批量排班结果
     */
    BatchScheduleResponseVo batchSchedule(BatchScheduleVo vo);

    /**
     * 删除排班
     * @param id 排班编号
     * @return 是否成功
     */
    boolean deleteSchedule(Long id);
}
